Information processing apparatus, image forming apparatus, information processing method and non-transitory computer readable medium

ABSTRACT

There is provided an information processing apparatus. A first near field communication unit performs first near field communication with a first communication object. A second near field communication unit performs second near field communication with a second communication object that is capable of being the first communication object. A setting unit receives selection of one of the first near field communication and second near field communication, and performs setting of communication. A communication controller controls the first and second near field communication units to perform the first or second near field communication that is set by the setting unit.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is based on and claims priority under 35 USC 119 fromJapanese Patent Application No. 2016-055522 filed Mar. 18, 2016.

TECHNICAL FIELD

The present invention relates to an information processing apparatus, animage forming apparatus, an information processing method and anon-transitory computer readable medium storing an informationprocessing program.

SUMMARY

According to an aspect of the embodiments of the present invention,there is provided an information processing apparatus, including: afirst near field communication unit that performs first near fieldcommunication with a first communication object; a second near fieldcommunication unit that performs second near field communication with asecond communication object that is capable of being the firstcommunication object; a setting unit that receives selection of one ofthe first near field communication and second near field communication,and performs setting of communication; and a communication controllerthat controls the first and second near field communication units toperform the first or second near field communication that is set by thesetting unit.

BRIEF DESCRIPTION OF THE DRAWINGS

Exemplary embodiments of the present invention will be described indetailed based on the following figures, wherein:

FIG. 1 is a functional block diagram illustrating a configurationexample of an information processing system according to an exemplaryembodiment of the invention;

FIG. 2 is a view illustrating an example of a function selection screen;

FIG. 3 is a flowchart illustrating an example of an operation of animage forming apparatus; and

FIG. 4 is a flowchart illustrating another example of the operation ofthe image forming apparatus.

DETAILED DESCRIPTION

Hereinafter, an exemplary embodiment of the invention will be describedwith reference to the accompanying drawings. Furthermore, in thedrawings, the same reference numeral will be given to a constituentelement having substantially the same function, and redundantdescription thereof will not be repeated. Furthermore, in this exemplaryembodiment, as an example of an information processing apparatus,description will be given of an image processing apparatus as anexample, but other information processing apparatuses are also possible.

FIG. 1 is a functional block diagram illustrating a configurationexample of the information processing system according to the exemplaryembodiment of the invention. In an information processing system 1, animage forming apparatus 2 and a mobile terminal 3 are connected to eachother for wireless communication. The mobile terminal 3 is an example ofa terminal device of a user or an NFC (Near Field Communication)corresponding device.

(Configuration of Image Forming Apparatus)

For example, the image forming apparatus 2 is a multifunction machinehaving plural functions such as copying, scanning, printing, andfacsimile, and includes a controller 20 that controls respective unitsof the image forming apparatus 2. A memory 21, a near fieldcommunication unit 22, a short range communication unit 23, a displayoperation unit 24, an image reading unit 25, an image processing unit26, an image output unit 27, and a facsimile unit 28 are connected tothe controller 20.

The near field communication unit 22 includes a first near fieldcommunication unit 221 that has a reader and writer function andtransmits a first wireless signal to establish first near fieldcommunication with a non-contact type IC card (not illustrated), and asecond near field communication unit 222 that has a P2P (Peer to Peer)function and transmits a second wireless signal to establish second nearfield communication with the mobile terminal 3. The non-contact type ICcard is an example of a first communication object. The mobile terminal3 is an example of a second communication object that may be the firstcommunication object, a communication device, or an NFC correspondingdevice.

The first near field communication unit 221 performs first near fieldcommunication, in which a communication-possible distance is, forexample, 10 cm or less, with a first near field communication unit 321of the mobile terminal 3. As this communication, for example, wirelesscommunication, which can establish communication with a non-contact typeIC card that is defined in the NFC forum, is used in this exemplaryembodiment. Examples of the non-contact type IC card that is defined inthe NFC forum include a Type A and a Type B which are defined byInternational Standard ISO/IEC 14443, FeliCa (registered trademark) thatis defined by Japanese Industrial Standard JIS X6319-4, and the like.The first near field communication is executed in a reader and writermode, and uses a communication protocol different from that of secondnear field communication.

The second near field communication unit 222 performs second near fieldcommunication, in which a communication-possible distance is, forexample, approximately 10 cm or less, with a second near fieldcommunication unit 322 of the mobile terminal 3. As this communication,for example, NFC communication, in which a P2P mode is possible, is usedin this exemplary embodiment. The second near field communication isexecuted in the P2P mode, and uses a communication protocol differentfrom that of the first near field communication.

The memory 21 is realized by a read only memory (ROM), a random accessmemory (RAM), a hard disk, and the like, and stores a program 210, an IPaddress 211 that is allocated to the memory 21, a user ID list 212, aprinting instruction information list 213, and the like. Here, the IPaddress 211 is an example of identification information of the imageforming apparatus 2. A user ID capable of accessing the image formingapparatus 2 is registered in the user ID list 212 in advance. As an ID,typically, the user ID is used, and thus there is a high possibilitythat an authentication error may occur with an individual identificationnumber that is retained in the non-contact type IC card or the NFCcorresponding device. Here, the user ID is an example of useridentification information. Furthermore, the memory 21 may not store theuser ID list 212. In this case, for example, a server stores the user IDlist 212, and the image forming apparatus 2 makes a user authenticationrequest for the server through a network. The program 210 is an exampleof an information processing program.

In a case where the near field communication unit 22 and a near fieldcommunication unit 32 as a counterpart exist in a communication-possibledistance (for example, a distance between antennas is approximately 10cm or less), existence of a communication object as a counterpart isdetected, and connection of the first or second near field communicationis established. In addition, in a case where the near fieldcommunication unit 32 as a counterpart gets out from thecommunication-possible distance in a state in which the near fieldcommunication unit 22 and the near field communication unit 32 as acounterpart exist in the communication-possible distance and connectionthereof is established, the connection of the first or second near fieldcommunication is cut out.

The short range communication unit 23 performs short range communicationwith a short range communication unit 33 of the mobile terminal 3 in acommunication-possible distance, for example, approximately 100 m orless which is longer than the communication-possible distance in thenear field communication unit 22. As this communication, for example,wireless local area network (LAN) such as wireless fidelity (Wi-Fi) thatpasses through a LAN router, or wireless communication such as Wi-FiDirect and Bluetooth (registered trademark) which do not pass throughthe LAN router and the like can be used.

The display operation unit 24 includes a touch panel display in which atouch panel is disposed on a display unit such as a liquid crystalmonitor in a superimposing manner. The display operation unit 24displays an operation screen on the display unit and receives anoperation for the touch panel from an operator.

For example, the image reading unit 25 is constituted by a scanner, andinputs image data after reading the image data from an originaldocument. The image processing unit 26 performs image processing such ascompression, contraction, expansion, and composition of image data thatis input from the image reading unit 25 and the like. For example, theimage output unit 27 includes an image holding member such as aphotoconductor, and outputs an image by forming the image on a recordingmedium such as a sheet of paper. The facsimile unit 28 performsmodulation and demodulation of data in accordance with a facsimileprotocol such as G3 and G4, and performs facsimile communication througha telephone line.

The controller 20 is constituted by a central processing unit (CPU), aninterface, and the like. The CPU operates in accordance with the program10 that is stored in the memory 21 to function as a communicationcontroller 200, a receiving unit 201, an authentication unit 202, anexecution unit 203, a setting unit 204, and the like, and executes thereader and writer mode and the P2P mode.

The communication controller 200 controls the first and second nearfield communication units 221 and 222 to perform the first or secondnear field communication, which is set by the setting unit 204 to bedescribed later, in the first near field communication and the secondnear field communication. That is, in a case where the first near fieldcommunication is set as effective communication, the communicationcontroller 200 transmits a first wireless signal from the first nearfield communication unit 221. When connection of the first near fieldcommunication is established, the communication controller 200 acquiresnecessary information such as a user ID and an individual identificationnumber from a non-contact type IC card through the first near fieldcommunication. In addition, in a case where the second near fieldcommunication is set as effective communication, the communicationcontroller 200 transmits a second wireless signal from the second nearfield communication unit 222.

When connection of the second near field communication is established,the communication controller 200 reads out the IP address 211 from thememory 21, and transmits the IP address 211 to the mobile terminal 3through the second near field communication.

When the first wireless signal and the second wireless signal arealternatively transmitted, and existence of the first communicationobject is continuously detected plural times (for example, two times orthree times) through the transmission of the first wireless signal, thecommunication controller 200 may acquire necessary information such asthe user ID from the non-contact type IC card through the first nearfield communication. In addition, when detecting existence of the mobileterminal 3 through transmission of the second wireless signal, thecommunication controller 200 reads out the IP address 211 from thememory 21, and may control the first and second near field communicationunits 221 and 222 to transmit the IP address 211 to the mobile terminal3 through the second near field communication. When continuouslydetecting existence of the first communication object plural times,necessary information is acquired from the non-contact type IC card, andpriority is given to the second near field communication in comparisonto the first near field communication. Hereinafter, this processing isreferred to as “filter processing”.

When the short range communication unit 23 establishes connection of theshort range communication with the short range communication unit 33 ofthe mobile terminal 3, the receiving unit 201 receives printinginstruction information 313, which gives an instruction for printing ofimage data, from the mobile terminal 3 through the short rangecommunication unit 23. The receiving unit 201 transmits the printinginstruction information 313, which is received, to the execution unit203.

In a case where the communication controller 200 acquires the user IDfrom the non-contact type IC card, the authentication unit 202 performsauthentication processing on the basis of the user ID that is acquired.Specifically, the authentication unit 202 determines whether or not theuser ID is registered in the user ID list 212 of the memory 21, andinforms the execution unit 203 of the authentication result. In a casewhere the user ID is directly input through operation with respect tothe display operation unit 24, the authentication processing may beperformed on the basis of the user ID that is directly input.Furthermore, the authentication unit 202 may authenticate a user on thebasis of the user ID and a password.

The execution unit 203 executes printing processing in accordance withthe printing instruction information 313 that is transmitted from thereceiving unit 201. That is, the execution unit 203 controls the imageoutput unit 27 to print image data under printing conditions which areset by the printing instruction information 313. The image output unit27 prints the image data on a recording medium such as a sheet of paperunder the printing conditions which are set by the printing instructioninformation 313. Furthermore, the execution unit 203 may executeprocessing by controlling the image processing unit 26 or the facsimileunit 28 in accordance with instruction information that is transmittedfrom the receiving unit 201.

In addition, in a case where authentication by the authentication unit202 is established, the execution unit 203 performs the printingprocessing. In a case where the authentication is not established, theexecution unit 203 rejects the printing processing.

The setting unit 204 receives selection of any one of the first nearfield communication and the second near field communication, andperforms setting of communication. As described later, the reception ofselection may be set by a user through selection in person, or may beset in accordance with the number of detection times of a communicationobject.

Furthermore, a part or the entirety of the communication controller 200,the receiving unit 201, the authentication unit 202, the execution unit203, and the setting unit 204 may be constituted by a hardware circuitsuch as a field programmable gate array (FPGA) and an applicationspecific integrated circuit (ASIC).

(Configuration of Mobile Terminal)

The mobile terminal 3 includes the controller 30 that controlsrespective units of the mobile terminal 3, and the memory 31, the nearfield communication unit 32, the short range communication unit 33, andthe display operation unit 34 are connected to the controller 30. Themobile terminal 3 may be a personal computer, a tablet type computer, amulti-function telephone (smart phone), a mobile phone, and the like.

The memory 31 is realized by a read only memory (ROM), a random accessmemory (RAM), a hard disk, and the like, and stores a program 310, imagedata 312, the printing instruction information 313, an individualidentification number 314, and the like. Examples of the individualidentification number 314 include a manufacturing number (UID, IDm, andthe like).

The near field communication unit 32 includes the first near fieldcommunication unit 321 that transmits a first wireless signal forperforming first near field communication, and the second near fieldcommunication unit 322 that transmits a second wireless signal forperforming second near field communication. The first near fieldcommunication unit 321 performs the first near field communication withthe first near field communication unit 221 of the image formingapparatus 2. The first near field communication unit 321 has the samefunction as that of the first near field communication unit 221 of theimage forming apparatus 2. The second near field communication unit 322performs the second near field communication with the second near fieldcommunication unit 222 of the image forming apparatus 2. The second nearfield communication unit 322 has the same function as that of the secondnear field communication unit 222 of the image forming apparatus 2.

The controller 30 alternately transmits the first wireless signal andthe second wireless signal. Accordingly, in accordance with timing,connection of the second near field communication may be establishedthrough transmission of the second wireless signal after establishmentof connection of the first near field communication through transmissionof the first wireless signal, or connection of the first near fieldcommunication may be established through transmission of the firstwireless signal after establishment of connection of the second nearfield communication through transmission of the second wireless signal.In a case where the image forming apparatus 2 is set in such a mannerthat only one of the first near field communication and the second nearfield communication is effective, only connection of the near fieldcommunication that is set is established.

The short range communication unit 33 performs short range communicationwith the short range communication unit 23 of the image formingapparatus 2, and has the same function as that of the short rangecommunication unit 23 of the image forming apparatus 2.

The display operation unit 34 includes a touch panel display in which atouch panel is disposed on a display unit such as a liquid crystalmonitor in a superimposing manner. The display operation unit 34displays an operation screen on the display unit and receives anoperation for the touch panel from an operator.

The controller 30 is constituted by a central processing unit (CPU), aninterface, and the like. The CPU operates in accordance with the program310, which is stored in the memory 31, to function as an IP addressacquiring unit 300, a printing instruction unit 301, a transmitting unit302, and the like, and executes the CE (Card Emulation) mode and the P2Pmode.

When the second near field communication unit 322 establishes connectionof the second near field communication with the second near fieldcommunication unit 222 of the image forming apparatus 2, the IP addressacquiring unit 300 acquires the IP address 211 of the image formingapparatus 2 through the second near field communication unit 322. The IPaddress acquiring unit 300 informs the printing instruction unit 301 ofthe IP address 211 that is acquired.

The printing instruction unit 301 transmits the printing instructioninformation 313, which instructs printing of the image data, to theimage forming apparatus 2, which corresponds to the IP address 211,through the short range communication unit 33 in a state in which the IPaddress 211, which is acquired by the IP address acquiring unit 300, isset as a transmission destination.

When the first near field communication unit 221 establishes connectionof the first near field communication with the first near fieldcommunication unit 321 of the mobile terminal 3, the transmitting unit302 reads out the individual identification number 314 from the memory31, and transmits the individual identification number 314 from thefirst near field communication unit 321 to the image forming apparatus2.

Furthermore, a part or the entirety of the IP address acquiring unit300, the printing instruction unit 301, and the transmitting unit 302may be constituted by a hardware circuit such as FPGA and ASIC. Inaddition, the IP address acquiring unit 300 and the transmitting unit302 may be executed by OS, and the printing instruction unit 301 may beexecuted by application software.

FIG. 2 is a view illustrating an example of a function selection screen240 that is displayed on the display operation unit 24 of the imageforming apparatus 2. The function selection screen 240 illustrated inFIG. 2 is displayed on the display operation unit 24 on the basis of anoperation by a user. The function selection screen 240 is provided witha “reader and writer function” button 241, a “P2P function” button 242,an “OK” button 243, and a “cancel” button 244. After selecting the“reader and writer function” button 241 or the “P2P function” button242, the setting unit 204 operates the “OK” button 243 to determinesetting contents. The “cancel” button 244 is configured to cancelselection of the “reader and writer function” button 241 or the “P2Pfunction” button 242.

(Operation of Information Processing System)

Next, an example of the operation of the information processing system 1will be described with reference to FIG. 3. FIG. 3 is a flowchartillustrating an example of the operation of the image forming apparatus2.

(1) In Case where Reader and Writer Function is Selected

Description will be given of a case where a user selects the “reader andwriter function” button 241 on the function selection screen 240illustrated in FIG. 2, and operate the “OK” button 243 to select thereader and writer function. Furthermore, both the reader and writerfunction and the P2P function cannot be simultaneously selected, andonly one of the reader and writer function and the P2P function can beselected.

First, a user operates a terminal device (not illustrated) to selectimage data that is an printing object, and sets printing conditions withrespect to the image data, for example, color/monochrome, the number ofprinted sheets, and the like to generate printing instructioninformation. The user operates the terminal device to transmit theprinting instruction information to the image forming apparatus 2through a network.

When receiving the printing instruction information through the network,the receiving unit 201 of the image forming apparatus 2 stores theprinting instruction information, which is received, in the printinginstruction information list 213 of the memory 21.

Next, the user holds the non-contact type IC card (not illustrated) overthe near field communication unit 22 of the image forming apparatus 2.The communication controller 200 confirms that which function of thereader and writer function and the P2P function is selected by thesetting unit 204 (51).

In a case where the reader and writer function is selected (51), thecommunication controller 200 outputs a first wireless signal from onlythe first near field communication unit 221. When the first near fieldcommunication unit 221 established connection of the first near fieldcommunication (Yes in S2), the communication controller 200 acquires anID (user ID) from the non-contact type IC card (S3).

The authentication unit 202 determines whether or not the user ID, whichis acquired by the communication controller 200, is registered in theuser ID list 212 (S4). The authentication unit 202 informs the executionunit 203 of the authentication result.

In a case where authentication is established (Yes in S4), the executionunit 203 displays the printing instruction information list 213, whichis stored in the memory 21, on the display operation unit 24. The useroperates the display operation unit 24 to select printing instructioninformation that is desired to perform printing. The execution unit 203controls the image output unit 27 in accordance with the printinginstruction information, which is selected, to execute printingprocessing (S5).

In a case where authentication is not established (No in S4), theexecution unit 203 rejects printing processing (S6).

Furthermore, when the user holds the mobile terminal 3 over the nearfield communication unit 22, in a case where the image forming apparatus2 does not correspond to the user ID, there is a possibility that anindividual identification number retained by the mobile terminal 3 maybe read and an authentication error may occur. To avoid this situation,a communication object name such as “non-contact type IC card” may bedisplayed on the function selection screen 240 illustrated in FIG. 2 inplace of or in combination with the display of the “reader and writerfunction”. In addition, a communication object name such as “NFCcorresponding device” may be displayed on the function selection screen240 in place of or in combination with display of the “P2P function”.

(2) In Case where P2P Function is Selected

Description will be given of a case where the user selects the “P2Pfunction” button 242 on the function selection screen 240 illustrated inFIG. 2, and operates the “OK” button 243 to select the P2P function.

The user operates the display operation unit 34 of the mobile terminal 3to display a printing setting screen. Next, the user operates theprinting setting screen to select the image data 312, which is aprinting object, from the image data 312 that is stored in the memory31.

Subsequently, the user sets printing conditions with respect to theimage data 312 that is selected, for example, color/monochrome, thenumber of printed sheets, and the like. The printing instruction unit301 generates the printing instruction information 313 for instructionof printing of the selected image data 312 under the printing conditionswhich are set, and stores the printing instruction information 313 inthe memory 31. For example, the printing instruction unit 301 displaysthe selected image data on the display operation unit 34 so as to setthe mobile terminal 3 to a stand-by state of near field communicationand to allow the CE mode and the P2P mode to be executable. Furthermore,the method of setting the portable terminal device 3 to the stand-bystate of near field communication is not limited to the method ofdisplaying the selected image data on the display operation unit 34, andit is possible to employ an arbitrary state as long as the image data isselected and the printing conditions are set.

The second near field communication unit 222 of the image formingapparatus 2 periodically transmits the second wireless signal todetermine whether or not a communication object exists. In a state inwhich the image data, which is selected by the user, is displayed on thedisplay operation unit 34, if the near field communication unit 32 ofthe mobile terminal 3 is made to be close to (is held over) the nearfield communication unit 22 of the image forming apparatus 2, the secondnear field communication unit 222 of the image forming apparatus 2transmits a second wireless signal to establish connection of the secondnear field communication (Yes in S7). At this time, since the first nearfield communication unit 221 is not set to be effective, the first nearfield communication unit 221 does not transmits the second wirelesssignal. According to this, an authentication error due to reading of anindividual identification number does not occur.

The communication controller 200 of the image forming apparatus 2 readsout the IP address 211 from the memory 21, and transmits the IP address211 to the mobile terminal 3 through the second near field communicationunit 222 (S8). When acquiring the IP address 211 from the image formingapparatus 2, the IP address acquiring unit 300 of the mobile terminal 3informs the printing instruction unit 301 of the IP address 211 that isacquired.

The printing instruction unit 301, which is informed of the IP address211, performs control in order for the printing instruction information313 to be transmitted from the short range communication unit 33 to theimage forming apparatus 2 in a state in which the IP address 211 is setas a transmission destination. When the short range communication unit33 establishes connection of the short range communication with theshort range communication unit 23, the printing instruction information313 is transmitted to the short range communication unit 23 of the imageforming apparatus 2. The receiving unit 201 receives the printinginstruction information 313 from the mobile terminal 3 through the shortrange communication unit 23 (S9).

The execution unit 203 controls the image output unit 27 to print theimage data on a recording medium under the printing conditions which areset by the printing instruction information 313 (S10).

(Another Example of Information Processing System)

Next, another example of the operation of the information processingsystem 1 will be described with reference to FIG. 4. FIG. 4 is aflowchart illustrating another example of the operation of the imageforming apparatus 2. Specifically, on the function selection screen 240illustrated in FIG. 2, the “reader and writer function” button 241 orthe “P2P function” button 242 is not selected.

(3) Printing by Using Non-Contact Type IC Card

First, a user operates a terminal device (not illustrated) to selectimage data that is an printing object, and sets printing conditions withrespect to the image data, for example, color/monochrome, the number ofprinted sheets, and the like to generate printing instructioninformation. The user operates the terminal device to transmit theprinting instruction information to the image forming apparatus 2through a network.

When receiving the printing instruction information through the network,the receiving unit 201 of the image forming apparatus 2 stores theprinting instruction information, which is received, in the printinginstruction information list 213 of the memory 21.

Next, the user holds the non-contact type IC card (not illustrated) overthe near field communication unit 22 of the image forming apparatus 2.The first near field communication unit 221 of the near fieldcommunication unit 22 detects existence of the non-contact type IC card(Yes in S11). When the first near field communication unit 221continuously detects the existence of the non-contact type IC card twotimes (Yes in S13), the communication controller 200 acquires a user IDfrom the non-contact type IC card through the first near fieldcommunication unit 221 (S14). The user ID is an example of necessaryinformation.

The authentication unit 202 determines whether or not the user ID, whichis acquired by the communication controller 200, is registered in theuser ID list 212 (S15). The authentication unit 202 informs theexecution unit 203 of the authentication result.

In a case where authentication is established (Yes in S15), theexecution unit 203 displays the printing instruction information list213, which is stored in the memory 21, on the display operation unit 24.The user operates the display operation unit 24 to select printinginstruction information that is desired to perform printing. Theexecution unit 203 controls the image output unit 27 in accordance withthe printing instruction information, which is selected, to executeprinting processing (S16).

In a case where authentication is not established (No in S15), theexecution unit 203 rejects printing processing (S17).

(4) Printing by Using Mobile Terminal 3

The user operates the display operation unit 34 of the mobile terminal 3to display a printing setting screen. Next, the user operates theprinting setting screen to select the image data 312, which is aprinting object, from the image data 312 that is stored in the memory31.

Subsequently, the user sets printing conditions with respect to theimage data 312 that is selected, for example, color/monochrome, thenumber of printed sheets, and the like. The printing instruction unit301 generates the printing instruction information 313 for instructionof printing of the selected image data 312 under the printing conditionswhich are set, and stores the printing instruction information 313 inthe memory 31. For example, the printing instruction unit 301 displaysthe selected image data on the display operation unit 34 so as to setthe mobile terminal 3 to a stand-by state of near field communicationand to allow the CE mode and the P2P mode to be executable. Furthermore,the method of setting the portable terminal device 3 to the stand-bystate of near field communication is not limited to the method ofdisplaying the selected image data on the display operation unit 34, andit is possible to employ an arbitrary state as long as the image data isselected and the printing conditions are set.

The first and second near field communication unit 221 and 222 of theimage forming apparatus 2 periodically transmit the first or secondwireless signal to determine whether or not a communication objectexists. In a state in which the image data, which is selected by theuser, is displayed on the display operation unit 34, if the near fieldcommunication unit 32 of the mobile terminal 3 is made to be close to(is held over) the near field communication unit 22 of the image formingapparatus 2, when detecting existence of the mobile terminal 3 as theNFC corresponding device, the first or second near field communicationunit 221 or 222 of the near field communication unit 22 of the imageforming apparatus 2 detects whether a first or second communicationobject exists between the first or second near field communication unit221 or 222 and the first or second near field communication unit 321 or322 of the near field communication unit 32 of the mobile terminal 3(S11, S12). The order of detecting a communication object by the firstnear field communication and the second near field communication isdifferent in accordance with timing.

In a case where the first near field communication unit 221 does notdetect existence of the non-contact type IC card (No in S11), and thesecond near field communication unit 222 detects existence of the mobileterminal 3 (Yes in S12), the communication controller 200 of the imageforming apparatus 2 reads out the IP address 211 from the memory 21, andtransmits the IP address 211 to the mobile terminal 3 through the secondnear field communication unit 222 (S18). When acquiring the IP address211 from the image forming apparatus 2, the IP address acquiring unit300 of the mobile terminal 3 informs the printing instruction unit 301of the IP address 211 that is acquired.

The printing instruction unit 301, which is informed of the IP address211, performs control in order for the printing instruction information313 to be transmitted from the short range communication unit 33 to theimage forming apparatus 2 in a state in which the IP address 211 is setas a transmission destination. When the short range communication unit33 establishes connection of the short range communication with theshort range communication unit 23, the printing instruction information313 is transmitted to the short range communication unit 23 of the imageforming apparatus 2. The receiving unit 201 receives the printinginstruction information 313 from the mobile terminal 3 through the shortrange communication unit 23 (S19).

The execution unit 203 controls the image output unit 27 to print theimage data on a recording medium under the printing conditions which areset by the printing instruction information 313 (S16).

Hereinbefore, the exemplary embodiment of the invention has beendescribed. However, the invention is not limited to the above-describedexemplary embodiment, and various modifications and executions can bemade in a range not changing the gist of the invention.

Modification Example 1

In the exemplary embodiment, so as to give a priority to the mobileterminal 3, in a case where existence of the non-contact type IC card iscontinuously detected plural times, control (filter processing) by thecommunication controller 200 for communication with the non-contact typeIC card is employed. However, so as to give a priority to thenon-contact type IC card, in a case where existence of the mobileterminal 3 is continuously detected plural times, communication with themobile terminal 3 may be established.

Modification Example 2

The controller 20 of the image forming apparatus 2 may be provided witha setting unit configured to set the number of detection times ofcontinuously detecting existence of one of the first and secondcommunication objects by the communication controller 200 to one timethrough a setting operation.

Modification Example 3

The controller 20 of the image forming apparatus 2 may be provided witha selection unit configured to select a configuration in whichcommunication is possible with both the first and second communicationobjects during holding-over of the communication objects, or aconfiguration in which communication is possible with only one of thefirst and second communication objects during holding-over of thecommunication objects. When the selection unit selects the configurationin which communication with both the first and second communicationobjects is possible, the filter processing may be set to be effective.

Modification Example 4

When the first near field communication unit 221 detects a non-contacttype IC card of a kind that may cause confusion with the mobile terminal3 among plural non-contact type IC cards, the controller 20 of the imageforming apparatus 2 may set the filter processing to be effective.

Modification Example 5

In the above-described exemplary embodiment, the printing instructioninformation 313 is transmitted through the short range communicationunit 33 for the reason that high-speed communication is possible, butthe printing instruction information 313 may be transmitted through thenear field communication unit 32 in a case where the amount of data issmall, and the like.

Hereinbefore, the exemplary embodiment of the invention has beendescribed. However, the invention is not limited to the above-describedexemplary embodiment, and various modifications and executions can bemade in a range not changing the gist of the invention.

In addition, in the flow of the exemplary embodiment, addition,deletion, change, substation of steps, and the like can be made in arange not changing the gist of the invention.

In addition, the program, which is used in the exemplary embodiment, maybe provided in a state of being recorded on a computer-readablerecording medium such a CD-ROM.

The foregoing description of the exemplary embodiments of the presentinvention has been provided for the purposes of illustration anddescription. It is not intended to be exhaustive or to limit theinvention to the precise forms disclosed. Obviously, many modificationsand variations will be apparent to practitioners skilled in the art. Theembodiments were chosen and described in order to best explain theprinciples of the invention and its practical applications, therebyenabling others skilled in the art to understand the invention forvarious embodiments and with the various modifications as are suited tothe particular use contemplated. It is intended that the scope of theinvention be defined by the following claims and their equivalents.

What is claimed is:
 1. An information processing apparatus comprising: a first near field communication unit configured to perform a first near field communication with a first communication object, and transmit a first wireless signal for performing the first near field communication with the first communication object; a second near field communication unit configured to transmit a second wireless signal to perform a second near field communication with a second communication object capable of being the first communication object; and a processor configured to: receive a selection of one of the first near field communication and the second near field communication in response to continuously detecting one of the first communication object and the second communication object a plurality of times through alternating transmission of the first wireless signal and the second wireless signal, and set the continuously detected one of the first near field communication or the second near field communication with either one of the first communication object or the second communication object, respectively; and control the first near field communication unit and the second near field communication unit to perform only one of the first near field communication or the second near field communication based on the set one of the first near field communication unit or the second near field communication unit.
 2. The information processing apparatus according to claim 1, wherein the first communication object is a non-contact type IC card, and the second communication object is a communication device.
 3. The information processing apparatus according to claim 1, wherein the processor is configured to set a number of the plurality of times the first and second communication objects are detected to one time.
 4. An image forming apparatus comprising: a first near field communication unit configured to perform a first near field communication with a first communication object, and transmit a first wireless signal for performing the first near field communication with the first communication object; a second near field communication unit configured to transmit a second wireless signal to perform a second near field communication with a second communication object capable of being the first communication object; and a processor configured to: receive a selection of one of the first near field communication and the second near field communication in response to continuously detecting one of the first communication object and the second communication object a plurality of times through alternating transmission of the first wireless signal and the second wireless signal, and set the continuously detected one of the first near field communication or the second near field communication with either one of the first communication object or the second communication object, respectively; and control the first near field communication unit and the second near field communication unit to perform only one of the first or second near field communication based on the set one of the first near field communication unit or the second near field communication unit.
 5. The image forming apparatus according to claim 4, wherein the first communication object is a non-contact type IC card, and the second communication object is a communication device.
 6. The image forming apparatus according to claim 4, wherein the processor is configured to set a number of the plurality of times the first and second communication objects are detected to one time.
 7. An information processing method comprising: performing first near field communication with a first communication object, including transmitting a first wireless signal for performing the first near filed communication with the first communication object; performing second near field communication with a second communication object that is capable of being the first communication object, including transmitting a second wireless signal; receiving a selection of one of the first near field communication and second near field communication in response to continuously detecting one of the first communication object and the second communication object a plurality of times through alternating transmission of the first wireless signal and the second wireless signal, and setting a communication by setting only one of the first near field communication and the second near field communication with the first communication object or the second communication object, respectively; and controlling the first near field communication unit and the second near field communication unit to perform the set communication.
 8. A non-transitory computer readable medium storing a program causing a computer to execute an information processing process, the information processing process comprising: performing first near field communication with a first communication object, including transmitting a first wireless signal for performing the first near filed communication with the first communication object; performing second near field communication with a second communication object that is capable of being the first communication object, including transmitting a second wireless signal; receiving a selection of one of the first near field communication and second near field communication in response to continuously detecting one of the first communication object and the second communication object a plurality of times through alternating transmission of the first wireless signal and second wireless signal, and setting a communication by setting only one of the first near field communication and the second near field communication with the first communication object or the second communication object, respectively; and controlling the first near field communication unit and the second near field communication unit to perform the set communication. 